<template>
  <div class="centerLoading">
    <div style="text-align:center">
      <h2 class="textd">修改密码</h2>
    </div>

    <div class="item__content">
      <label
        ><input
          class="inputId"
          type="text"
          placeholder="请输入修改后的密码"
          v-model="id"
          required
      /></label>
    </div>

    <div class="item__content">
      <label
        ><input
          class="inputId"
          type="password"
          placeholder="请再次输入修改后的密码"
          v-model="passward"
          required
      /></label>
    </div>

    <div>
      <button
        style="width: 100%; margin-bottom: 30px; margin-top: 20px;"
        class="buttonRegister"
      >
        确认修改
      </button>
    </div>
  </div>
</template>

<script>
export default {
  name: "Register",
  components: {},
  mixins: [],
  props: {},
  data() {
    return {};
  },
  computed: {},
  watch: {},
  mounted() {},
  methods: {
    LoadNow() {
      console.log("loading");
    }
  }
};
</script>

<style>
html {
  background-color: #2d3a4b;
  color: aliceblue;
  font-size: larger;
}
/* 使div块在页面居中 */
.centerLoading {
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);

  width: 520px;
}

/* input框 */
.item__content {
  line-height: 40px;
  position: relative;
  font-size: 18px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  color: #454545;
  top: 10px;
  margin-bottom: 22px;
}

.inputId {
  background: transparent;
  border: 0px;
  -webkit-appearance: none;
  border-radius: 0px;
  padding: 8px 1px 8px 11px;
  color: #fff;
  height: 47px;
  width: 100%;
  caret-color: #fff;
}

/* 修改按钮 */
.buttonRegister {
  color: #fff;
  background-color: #409eff;
  border-color: #409eff;
  display: inline-block;
  border-radius: 5px;
  height: 40px;
}
</style>
